package com.wrl.design.principle.demeter;

import java.util.ArrayList;
import java.util.List;

/**
 * @author Wang Renlei
 * @Date 2019/11/11 0011
 */
public class TeamLeader {

    public void checkNumberOfCourse() {
        List<Course> courseList = new ArrayList<>();
        for(int i = 0; i < 20; i++){
            courseList.add(new Course());
        }
        System.out.println("在线课程数量：" + courseList.size());
    }

}
